package com.coderman.tianhua.idgenerator.common.enums;

/**
 * Description:运行时状态
 * date: 2020/10/28
 *
 * @author fanchunshuai
 * @version 1.0.0
 * @since JDK 1.8
 */
public enum RuntimeEnum {

    PREV(-1),
    NOW(0),
    NEXT(1);
    //偏移时间
    private int offsetTime;

    RuntimeEnum(int offsetTime) {
        this.offsetTime = offsetTime;
    }

    public int getOffsetTime() {
        return offsetTime;
    }

}
